package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 订单聊天室成员表对象 chatroom_personnel
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("订单聊天室成员表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "chatroom_personnel")
public class ChatroomPersonnelEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 咨询室主键
	 */
	@ApiModelProperty("咨询室主键")
	private Long courId;

	/**
	 * 人员id(关联用户表)
	 */
	@ApiModelProperty("人员id(关联用户表)")
	private Long crpUserid;

	/**
	 * 相关roomToken
	 */
	@ApiModelProperty("相关roomToken")
	private String roomToken;

	/**
	 * 01医生02患者
	 */
	@ApiModelProperty("01医生02患者")
	private String personType;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
